Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 1 - Appearance Manager Reference / Appearance Manager Functions
Drawing Appearance-Compliant Controls /


DrawThemeWindowListViewHeader

NEW WITH THE APPEARANCE MANAGER

Draws a window list view header consistent with the current theme.

pascal OSStatus DrawThemeWindowListViewHeader (
                     const Rect *inRect,
                     ThemeDrawState inState);
inRect
On input, a pointer to a rectangle.
inState
A value specifying the state in which the window list view header is to be drawn; see "Appearance-Compliant Draw State Constants". The header can only be drawn as active or inactive; passing kThemeStatePressed will result in an error being returned.
function result
A result code; see "Result Codes".
DISCUSSION
The DrawThemeWindowListViewHeader function draws a window list view header, such as that used by the Finder, inside the rectangle that is passed in. A window list view header is drawn without a line on its bottom edge, so that bevel buttons can be placed against it without overlapping.

SEE ALSO
"Control Guidelines" in Mac OS 8 Human Interface Guidelines.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998